package xyz.zdsoft.project_group_manage_module.service;
import org.springframework.stereotype.Service;
import xyz.zdsoft.project_group_manage_module.mapper.InsertTeamGchMapper;

import javax.annotation.Resource;
import java.util.HashMap;

@Service
public class InsertTeamGchService {
    @Resource
    private InsertTeamGchMapper insertTeamGchMapper;

    public String insertTeam(HashMap<String,Object> map){
        Integer t=insertTeamGchMapper.InsertTeam(map);
        if (t>0){
            return "新增成功";
        }
        else {
            return "新增失败";
        }
    }
}
